import request from '@/utils/request'

// 查询月卡列列表
export function listList(query) {
  return request({
    url: '/system/list/list',
    method: 'get',
    params: query
  })
}

// 查询月卡列详细
export function getList(mcId) {
  return request({
    url: '/system/list/' + mcId,
    method: 'get'
  })
}

// 新增月卡列
export function addList(data) {
  return request({
    url: '/system/list',
    method: 'post',
    data: data
  })
}

// 修改月卡列
export function updateList(data) {
  return request({
    url: '/system/list',
    method: 'put',
    data: data
  })
}

// 删除月卡列
export function delList(mcId) {
  return request({
    url: '/system/list/' + mcId,
    method: 'delete'
  })
}
